<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">

    <!--
    <script type="text/javascript" ckharset="utf-8" src="http://static.bshare.cn/b/buttonLite.js#style=-1&uuid=&pophcol=2&lang=zh"></script>
    <script type="text/javascript" charset="utf-8" src="http://static.bshare.cn/b/bshareC0.js"></script>
    <script src="../js/jquery-1.7.2.js"></script>
    <script src="../js/JIndex.js"></script>
    -->
    <script src="js/jquery-1.7.2.js"></script>
    <script src="js/artTemplate/template.js"></script>

    <script type="text/javascript">
        function view(json, htmlurl, scripturl) {
            var $varietyContent = $(htmlurl),
                    varietyHtml = template(scripturl, json);
            $varietyContent.html(varietyHtml);

        }


        $(function(){
            /*
             //鸿鑫集团网站群
             geetdata("../company/list.do", "", "#company1", "company_list1",'', false);
             //公司简介
             //公司详情
             */
            $.getJSON("../comp/list.do", "", function(json){
                view(json,  "#company1", "company_list1"); // 负责界面显示数据
                view(json,  "#company2", "company_list2");
                view(json,  "#f-r", "company_list3");
            })

                //interaction
            ;(function($){
                var oFBox1=$('#xF1J');
                $.ajax({
                    url: "../site/list.do",
                    dataType:'json',
                    success:function(json){
                        var arr=json.data;
                        /*
                         // 此处不需要循环
                         $.each(arr, function(i,val){
                         oFBox1.html(html);
                         });
                         */
                        var html = '<dl>'
                                +'<dt>鸿鑫集团网站群</dt>'
                                +'<dd class="da clearFix">'
                                +'<a '+ isTargetUrl(arr[0].companysite) +' href="'+arr[0].companysite+'">'+arr[0].companyname+'</a>'
                                +'<a '+ isTargetUrl(arr[1].companysite) +' class="a1" href="'+arr[1].companysite+'">'+arr[1].companyname+'</a>'
                                +'</dd>'
                                +'<dd class="da clearFix">'
                                +'<a '+ isTargetUrl(arr[2].companysite) +' href="'+arr[2].companysite+'">'+arr[2].companyname+'</a>'
                                +'<a '+ isTargetUrl(arr[3].companysite) +' class="a2" href="'+arr[3].companysite+'">'+arr[3].companyname+'</a>'
                                +'</dd>'
                                +'<dd class="da clearFix">'
                                +'<a '+ isTargetUrl(arr[4].companysite) +' href="'+arr[4].companysite+'">'+arr[4].companyname+'</a>'
                                +'<a '+ isTargetUrl(arr[5].companysite) +' class="a2" href="'+arr[5].companysite+'">'+arr[5].companyname+'</a>'
                                +'</dd>'
                                +'<dd>'
                                +'<a '+ isTargetUrl(arr[6].companysite) +' href="'+arr[6].companysite+'">'+arr[6].companyname+'</a>'
                                +'</dd>'
                                +'<dd><a '+ isTargetUrl(arr[7].companysite) +' href="'+arr[7].companysite+'">'+arr[7].companyname+'</a></dd>'
                                +'<dd><a '+ isTargetUrl(arr[8].companysite) +' href="'+arr[8].companysite+'">'+arr[8].companyname+'</a></dd>'
                                +'</dl>';
                        oFBox1.html(html);
                    }
                });

            })(jQuery);
        });

        function isTargetUrl(companysite) {
            if(companysite!='javascript:;'){
                //alert(companysite);
                return ' target="_blank" ';
            }else{
                return '';
            }
        }
    </script>

</head>
<body>







<!--<div class="gBlue">
    <div class="footer">
        <div class="f-l">
            <img src="images/gFoot.png" alt=""/>
        </div>
        <div class="f-n">
            <h2>关于成功企业家俱乐部</h2>
            <p>北京鸿鑫睿智人力资源管理咨询有限公司(简称“鸿鑫人力”),为客户提供招聘流程外包、猎头招聘、人才派遣、项目外包、咨询与培训、整体外包服务、人事代理及单项业务为。</p>
        </div>
        <div class="f-m" id="xF1J">
            <dl>
                <dt>鸿鑫集团网站群</dt>
                <dd class="da clearFix">
                    <a href="javascript:;">鸿鑫集团</a>
                    <a class="a1" href="javascript:;">企业家俱乐部</a>
                </dd>
                <dd class="da clearFix">
                    <a href="javascript:;">鸿鑫传媒</a>
                    <a class="a1" href="javascript:;">大学生创业就业网</a>
                </dd>
                <dd class="da clearFix">
                    <a href="javascript:;">鸿鑫人力</a>
                    <a class="a1" href="javascript:;">大学生助学网</a>
                </dd>
                <dd>
                    <a href="javascript:;">鸿鑫教育</a>
                </dd>
                <dd><a href="javascript:;">鸿鑫科技</a></dd>
                <dd><a href="javascript:;">鸿鑫商城</a></dd>
            </dl>
            <h2>Copyright © 2016 1 1 by 鸿鑫国际集团 all rights reserved</h2>
            <p>京ICP备05038***号</p>
        </div>
        <div class="f-r">
            <ul id="f-r">
                <script id="company_list3" type="text/html">
                    {{each data.data as value i}}
                    <li>联系电话：{{value.grouptel}}</li>
                    <li>集团客服中心：{{value.groupservicetel}}</li>
                    <li>集团邮箱：{{value.ext1}}</li>
                    <li>招聘邮箱：{{value.advertiseemail}}</li>
                    <li>集团网站：{{value.ext2}}</li>
                    <li>集团总部：{{value.groupaddress}}</li>
                    {{/each}}
                </script>
                &lt;!&ndash; <li>联系电话：010-64823038  64823866  64823768</li>
                 <li>集团客服中心：400-112-6989</li>
                 <li>集团邮箱：hxi-group@hongxinguoji.com</li>
                 <li>招聘邮箱：zhaopin@hongxinguoji.com</li>
                 <li>集团网站：www.hongxinguoji.com</li>
                 <li>集团总部：中国·北京市朝阳区惠新东街11号紫光发展大厦A座三层</li>&ndash;&gt;
            </ul>
        </div>
    </div>
</div>-->




<div class="gBlue">
    <div class="footer">
        <div class="f-l">
            <img src="images/gFoot.png" alt=""/>
        </div>
            <div class="f-m" id="xF1J">
                <script id="company_list1" type="text/html">
                    {{each data as value i}}
                    <a href="../listPage/aboutXY.html" target="_blank" class="a1">关于{{value.name}}</a>
                    <a href="../listPage/aboutXY.html" target="_blank">{{value.about}}</a>
                    {{/each}}
                </script>
                <ul id="company1"></ul>
            </div>
        </div>
        <div class="f-m">
         <!--   <div id="xF1J"></div>-->
            <script id="company_list2" type="text/html">
                {{each data as value i}}
                <h2 style="font-size:100%">{{value.copyright}}</h2>
                <p>{{value.record}}</p>
                {{/each}}
            </script>
     <!--       <ul id="company2"></ul>
            &lt;!&ndash;  CNZZ 网站统计 	&ndash;&gt;
            <script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1258007807'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s4.cnzz.com/z_stat.php%3Fid%3D1258007807%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>
            &lt;!&ndash;
            <script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1258007807'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s4.cnzz.com/z_stat.php%3Fid%3D1258007807' type='text/javascript'%3E%3C/script%3E"));</script>
            &ndash;&gt;-->
        </div>
        <div class="f-r">
            <script id="company_list3" type="text/html">
                {{each data as value i}}
                <li>联系电话：{{value.grouptel}}</li>
                <li>集团客服中心：{{value.groupservicetel}}</li>
                <li>集团邮箱：{{value.ext1}}</li>
                <li>招聘邮箱：{{value.advertiseemail}}</li>
                <li>集团网站：{{value.ext2}}</li>
                <li>集团总部：{{value.groupaddress}}</li>
                {{/each}}
            </script>
            <ul id="f-r"></ul>
        </div>
    </div>
</div>
</body>
</html>